package com.kangyi.result;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "用户账号管理分页返回数据格式")
public class UserPageResult implements Serializable {

    @ApiModelProperty("总记录数")
    private long total;
    @ApiModelProperty("当前页数据集合")
    private List records;
    @ApiModelProperty("总用户数")
    private Long totalUser;
    @ApiModelProperty("启用账号")
    private Integer enable;
    @ApiModelProperty("禁用账号")
    private Integer disable;
}
